package com.business.commons.baseUtil;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class LocalHostUtils {

	public static String getLocalhostIp (){
		
    	InetAddress address = null;
		try {
			address = InetAddress.getLocalHost();
			return (address.getHostAddress());
		} catch (UnknownHostException e) {
			e.printStackTrace();
			return "unknown";
		}   
		
	}
}
